In this project for my UH Manoa ICS 111 class, I was tasked with making a game in which the user could control a dodgeball player and would have to dodge balls (represented as different images).
I used EZ Java to create an easy 2 dimensional game in which the player would have to constantly avoid dodgeballs, since the path of each dodgeball was constantly recalculated so that they would try to hit the player with each bounce off the wall. I had to also make sure that the balls traveling across the screen would “bounce” back after hitting a specific x or y value which represented the player’s visible screen. I had to download several images to use as the player, background, and balls. Furthermore, I downloaded sound files to use as background music for the player’s enjoyment. When the player was hit, a sound would play, indicating that they took some damage. After being hit 3 times, they would lose and the screen would change to a “game over” page. Since this was my first ICS project at UH Manoa, in wasn’t the most difficult, but it was definitely one which made me excited to see what challenges I could overcome.
Here is a link to a YouTube demonstration of the game.